package demo.icanci.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author icanci
 * @date Created in 2021/02/05 00:52
 * @version 1.0
 */
@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface PersonInfoAnnotation {
    // 名字
    public String name();

    // 年龄
    public int age() default 18;

    // 性别
    public String gender() default "男";

    // 开发语言
    public String[] language();
}
